﻿<!DCOTYPE  html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title>流量热力图</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="/css/theme/font-awesome.min.css" type="text/css" />
        <link rel="stylesheet" href="/css/theme/bootstrap.min.css" type="text/css" />
        <link rel="stylesheet" href="/javascript/theme/libs/jquery-easyui-1.4/themes/default/easyui.css" type="text/css" />
        <link rel="stylesheet" href="/css/theme/App.css" type="text/css" />
        <link rel="stylesheet" href="/css/theme/custom.css" type="text/css" />
        <script src="/javascript/theme/libs/jquery-1.9.1.min.js"></script>
        <script src="/javascript/theme/libs/jquery-easyui-1.4/jquery.easyui.min.js"></script>
        <script src="/javascript/theme/libs/bootstrap.min.js"></script>
        <script src="/javascript/theme/App.js"></script>
        <script type="text/javascript" src="/javascript/My97DatePicker/WdatePicker.js"></script>
        <script type="text/javascript" src="/javascript/report/FusionCharts.js"></script>
        <script src="/javascript/theme/libs/echarts/js/esl.js"></script>
        <style type="text/css">
            .alink {
            text-decoration:underline;
            color:#0000CC;
            }
            .alinkClicked {
            color:#0000CC;
            }
            #cates,#locals,#cateClean,#localClean{
            display:none;
            }
			div{background:white;}
        </style>
</head>
 <body>
 <div id="content" style="OVERFLOW-X:yes;OVERFLOW-Y:auto;min-height:100px">
    <div id="content-container">
        <form action="/heatmap/getMapPageTest" class="form-horizontal" role="form" method="post" target="_blank" id="selectform">
            <div class="portlet">
                <div class="portlet-header">
                    <h3>
                        <i class="fa fa-tasks"></i>
                        流量热力图
                    </h3>
                </div>
                <!-- /.portlet-header -->
                <div class="portlet-content">
                 <br/>
                    <div class="form-group">
                        <label class="col-md-2">&nbsp;&nbsp;日 期 : </label>
                        <div class="col-md-2">
                            <input  type="text" name="startdate" id="startdate" value="$!{startdate}" style="width:120px;height:25px" class="Wdate form-control" value="$!{sendTime}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-#{%d-1}'})"/>
                        </div>
                    	<textarea style="width:100px;height:20px"  hidden="hidden"  name="selecttype" id="selecttype" value="$!{selecttype}" >$!{selecttype}</textarea>
                        
                        <!--hidden="hidden" -->
                    	<div id="internetmodel">
                            <label class="col-md-2">&nbsp;&nbsp;类 别 : </label>
                            <div class="col-md-2">
                                    <input type="radio" name="type1" value="m" checked/>
                                        M端 &nbsp;&nbsp;&nbsp;
                            </div>
                        	<label class="col-md-2">&nbsp;&nbsp;城市: </label>
                        	<div class="col-md-2">
                        		<input type="hidden" id="initalcity" value="$!filecity" />
                        		<select  id="filecity" name="filecity" value="$!{filecity}" style="width:130px;height:25px">
                        				#foreach( $city in $cityList)
                        					<option value="$!{city}"  #if($city == $!{filecity}) selected #end>$!{city}</option>
                        				#end
                        		</select>
                        	 </div>
                        </div>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="button" class="button" id="searchBtn" value="查询" />&nbsp;&nbsp;&nbsp;
                        <input type="button" class="button" id="downloadBtn" value="数据导出" />
                    </div>
                    <br/>
                    <textarea style="width:280px;height:60px"  hidden="hidden"  name="procitypv" id="procitypv" value="$!{procitypv}" >$!{procitypv}</textarea>
                    <textarea style="width:100px;height:20px"  hidden="hidden"  name="typename" id="typename" value="$!{typename}" >$!{type}</textarea>
                    </div>
                    <!-- /.portlet-content-->
            </div>
             <!-- /.portlet-->
        </form>
    </div>
</div>

<script type="text/javascript">
		$(function(){
               $("#filecity").combobox({
               		selectOnNavigation: true,
               		onSelect: function(newVal,oldVal){
               			var city = $("#filecity").combobox('getValue');
               			
               		}
               });
               $("#filecity").combobox('setValue',$('#initalcity').val());
         });

$(function() {

    $("#searchBtn").click(function(){
        $('#selectform').attr('action','/heatmap/getMapPageTest');
        $('#selectform').submit();
    });
    $("#downloadBtn").click(function(){
        $('#selectform').attr('action','/heatmap/downloadData');
        $('#selectform').submit();
    });
});        
        </script>
    </body>
</html>
